package cn.pfz.mapper;

import cn.pfz.domain.Appointment;
import cn.pfz.domain.Department;
import cn.pfz.query.QueryObject;
import cn.pfz.query.appointmentQuery;

import java.util.List;

public interface AppointmentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Appointment record);

    Appointment selectByPrimaryKey(Long id);

    List<Appointment> selectAll();

    int updateByPrimaryKey(Appointment record);

    List<Appointment>selectRusult(appointmentQuery qo);

    void updateStatusById(Appointment appointment);
}